/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.domain;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.comac.ins.common.tenant.core.TenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 自然网格模型库-构型定义对象 isfd_mesh_model_structure_definition
 *
 * @author hxloongs
 * @date 2025-01-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("isfd_mesh_model_structure_definition")
public class IsfdMeshModelStructureDefinition extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 父节点
     */
    private Long parentId;

    /**
     * 顶层节点id
     */
    private Long topParentId;

    /**
     * 节点名称
     */
    private String name;

    /**
     * 标识
     */
    private String mark;

    /**
     * 级别，机型-1；部段-2；子部段-3
     */
    private Integer level;

    /**
     * 查询索引
     */
    private String queryIndex;

}
